package cn.kmsoft.wololo.object.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * GeoJson叠加分析查询对象
 * geoJson 为字符串
 *
 * @author
 * @date 2018/1/16.
 */
@Data
@ApiModel(description = "GeoJson叠加分析查询对象")
public class GeoJsonQuery implements Serializable {
    @ApiModelProperty(required = true, notes = "输入图形")
    private String geoJson;

    @ApiModelProperty("椭球面积精度")
    private Integer digits = 2;

    @ApiModelProperty("wkid")
    private Integer wkid = 4523;

    @ApiModelProperty("fgeo_wkid")
    private Integer fgeo_wkid = 4496;

    @ApiModelProperty("是否返回椭球面积")
    private Boolean returnEllipsoidalArea = true;

    @ApiModelProperty("分析类型")
    private AnalysisType type;


    public String getGeoJson() {
        return geoJson;
    }
    public void setGeoJson(String geoJson) {
        this.geoJson = geoJson;
    }

    public Integer getDigits() {
        return digits;
    }
    public void setDigits(Integer digits) {
        this.digits = digits;
    }

    public Integer getWkid() {
        return wkid;
    }
    public void setWkid(Integer wkid) {
        this.wkid = wkid;
    }


    public Integer getFgeo_wkid() {
        return fgeo_wkid;
    }
    public void setFgeo_wkid(Integer fgeo_wkid) {
        this.fgeo_wkid = fgeo_wkid;
    }


    public Boolean getReturnEllipsoidalArea() {
        return returnEllipsoidalArea;
    }
    public void setReturnEllipsoidalArea(Boolean returnEllipsoidalArea) {
        this.returnEllipsoidalArea = returnEllipsoidalArea;
    }

    public AnalysisType getType() {
        return type;
    }
    public void setType(AnalysisType type) {
        this.type = type;
    }
}
